package com.lx.fallback;

import com.lx.remote.HelloRemote;

import org.springframework.stereotype.Component;

/**
 * @author 段誉
 * @create 2019-07-10 17:16
 */
@Component
public class HelloRemoteFallBack implements HelloRemote {
  @Override
  public String hello(String name) {
    return "hello " + name + ", i am fallback massage;";
  }
}
